﻿using System;
using System.Windows;
using System.Windows.Controls;

namespace HOG.Controls
{
    public partial class GameOverControl : UserControl
    {
        public GameOverControl()
        {
            InitializeComponent();
        }
        
        public EventHandler BackToMainMenu;

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            backgroundMusic.Stop();
            if (BackToMainMenu != null)
                BackToMainMenu(null, null);
        }
    }
}
